﻿
namespace NetROS.Tiers.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.PutniNalogStavkaPrijevoz"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class PutniNalogStavkaPrijevozEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the ID property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxID;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ID property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDLabel;
		
		/// <summary>
		/// ComboBox for the IDPutniNalog property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDPutniNalog;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDPutniNalog property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDPutniNalogLabel;
		
		/// <summary>
		/// ComboBox for the IDVozilo property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDVozilo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDVozilo property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDVoziloLabel;
		
		/// <summary>
		/// TextBox for the RelacijaOd property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxRelacijaOd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the RelacijaOd property.
		/// </summary>
		protected System.Windows.Forms.Label uxRelacijaOdLabel;
		
		/// <summary>
		/// TextBox for the RelacijaDo property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxRelacijaDo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the RelacijaDo property.
		/// </summary>
		protected System.Windows.Forms.Label uxRelacijaDoLabel;
		
		/// <summary>
		/// TextBox for the Kilometara property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxKilometara;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Kilometara property.
		/// </summary>
		protected System.Windows.Forms.Label uxKilometaraLabel;
		
		/// <summary>
		/// TextBox for the BrojiloPocetak property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxBrojiloPocetak;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the BrojiloPocetak property.
		/// </summary>
		protected System.Windows.Forms.Label uxBrojiloPocetakLabel;
		
		/// <summary>
		/// TextBox for the BrojiloKraj property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxBrojiloKraj;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the BrojiloKraj property.
		/// </summary>
		protected System.Windows.Forms.Label uxBrojiloKrajLabel;
		
		/// <summary>
		/// TextBox for the PoKm property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxPoKm;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the PoKm property.
		/// </summary>
		protected System.Windows.Forms.Label uxPoKmLabel;
		
		/// <summary>
		/// TextBox for the VoziloOpis property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxVoziloOpis;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the VoziloOpis property.
		/// </summary>
		protected System.Windows.Forms.Label uxVoziloOpisLabel;
		
		/// <summary>
		/// TextBox for the Iznos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIznos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Iznos property.
		/// </summary>
		protected System.Windows.Forms.Label uxIznosLabel;
		
		/// <summary>
		/// ComboBox for the IDKontoPrijevoza property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDKontoPrijevoza;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDKontoPrijevoza property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDKontoPrijevozaLabel;
		
		/// <summary>
		/// TextBox for the IDBlagajnaStavka property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDBlagajnaStavka;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDBlagajnaStavka property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDBlagajnaStavkaLabel;
		#endregion
		
		#region Main entity
		private Entities.PutniNalogStavkaPrijevoz _PutniNalogStavkaPrijevoz;
		/// <summary>
		/// Gets or sets the <see cref="Entities.PutniNalogStavkaPrijevoz"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.PutniNalogStavkaPrijevoz"/> instance.</value>
		public Entities.PutniNalogStavkaPrijevoz PutniNalogStavkaPrijevoz
		{
			get {return this._PutniNalogStavkaPrijevoz;}
			set
			{
				this._PutniNalogStavkaPrijevoz = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxID.DataBindings.Clear();
			this.uxID.DataBindings.Add("Text", this.uxBindingSource, "ID", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDPutniNalog.DataBindings.Clear();
			this.uxIDPutniNalog.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDPutniNalog", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDVozilo.DataBindings.Clear();
			this.uxIDVozilo.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDVozilo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxRelacijaOd.DataBindings.Clear();
			this.uxRelacijaOd.DataBindings.Add("Text", this.uxBindingSource, "RelacijaOd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxRelacijaDo.DataBindings.Clear();
			this.uxRelacijaDo.DataBindings.Add("Text", this.uxBindingSource, "RelacijaDo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxKilometara.DataBindings.Clear();
			this.uxKilometara.DataBindings.Add("Text", this.uxBindingSource, "Kilometara", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxBrojiloPocetak.DataBindings.Clear();
			this.uxBrojiloPocetak.DataBindings.Add("Text", this.uxBindingSource, "BrojiloPocetak", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxBrojiloKraj.DataBindings.Clear();
			this.uxBrojiloKraj.DataBindings.Add("Text", this.uxBindingSource, "BrojiloKraj", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxPoKm.DataBindings.Clear();
			this.uxPoKm.DataBindings.Add("Text", this.uxBindingSource, "PoKm", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxVoziloOpis.DataBindings.Clear();
			this.uxVoziloOpis.DataBindings.Add("Text", this.uxBindingSource, "VoziloOpis", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIznos.DataBindings.Clear();
			this.uxIznos.DataBindings.Add("Text", this.uxBindingSource, "Iznos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDKontoPrijevoza.DataBindings.Clear();
			this.uxIDKontoPrijevoza.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDKontoPrijevoza", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDBlagajnaStavka.DataBindings.Clear();
			this.uxIDBlagajnaStavka.DataBindings.Add("Text", this.uxBindingSource, "IDBlagajnaStavka", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="PutniNalogStavkaPrijevozEditControlBase"/> class.
		/// </summary>
		public PutniNalogStavkaPrijevozEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_PutniNalogStavkaPrijevoz != null) _PutniNalogStavkaPrijevoz.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxID = new System.Windows.Forms.TextBox();
			uxIDLabel = new System.Windows.Forms.Label();
			this.uxIDPutniNalog = new System.Windows.Forms.ComboBox();
			uxIDPutniNalogLabel = new System.Windows.Forms.Label();
			this.uxIDVozilo = new System.Windows.Forms.ComboBox();
			uxIDVoziloLabel = new System.Windows.Forms.Label();
			this.uxRelacijaOd = new System.Windows.Forms.TextBox();
			uxRelacijaOdLabel = new System.Windows.Forms.Label();
			this.uxRelacijaDo = new System.Windows.Forms.TextBox();
			uxRelacijaDoLabel = new System.Windows.Forms.Label();
			this.uxKilometara = new System.Windows.Forms.TextBox();
			uxKilometaraLabel = new System.Windows.Forms.Label();
			this.uxBrojiloPocetak = new System.Windows.Forms.TextBox();
			uxBrojiloPocetakLabel = new System.Windows.Forms.Label();
			this.uxBrojiloKraj = new System.Windows.Forms.TextBox();
			uxBrojiloKrajLabel = new System.Windows.Forms.Label();
			this.uxPoKm = new System.Windows.Forms.TextBox();
			uxPoKmLabel = new System.Windows.Forms.Label();
			this.uxVoziloOpis = new System.Windows.Forms.TextBox();
			uxVoziloOpisLabel = new System.Windows.Forms.Label();
			this.uxIznos = new System.Windows.Forms.TextBox();
			uxIznosLabel = new System.Windows.Forms.Label();
			this.uxIDKontoPrijevoza = new System.Windows.Forms.ComboBox();
			uxIDKontoPrijevozaLabel = new System.Windows.Forms.Label();
			this.uxIDBlagajnaStavka = new System.Windows.Forms.TextBox();
			uxIDBlagajnaStavkaLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIDLabel
			//
			this.uxIDLabel.Text = "ID:";
			this.uxIDLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIDLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDLabel);			
			//
			// uxID
			//
			this.uxID.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxID);
			this.uxID.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxID);
			//
			// uxIDPutniNalogLabel
			//
			this.uxIDPutniNalogLabel.Text = "IDPutniNalog:";
			this.uxIDPutniNalogLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxIDPutniNalogLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDPutniNalogLabel);			
			//
			// uxIDPutniNalog
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDPutniNalog);
			this.uxIDPutniNalog.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxIDPutniNalog);
			//
			// uxIDVoziloLabel
			//
			this.uxIDVoziloLabel.Text = "IDVozilo:";
			this.uxIDVoziloLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxIDVoziloLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDVoziloLabel);			
			//
			// uxIDVozilo
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDVozilo);
			this.uxIDVozilo.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxIDVozilo);
			//
			// uxRelacijaOdLabel
			//
			this.uxRelacijaOdLabel.Text = "RelacijaOd:";
			this.uxRelacijaOdLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxRelacijaOdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxRelacijaOdLabel);			
			//
			// uxRelacijaOd
			//
			this.uxRelacijaOd.Width = 250;
			this.uxRelacijaOd.MaxLength = 150;
			//this.uxTableLayoutPanel.Controls.Add(this.uxRelacijaOd);
			this.uxRelacijaOd.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxRelacijaOd);
			//
			// uxRelacijaDoLabel
			//
			this.uxRelacijaDoLabel.Text = "RelacijaDo:";
			this.uxRelacijaDoLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxRelacijaDoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxRelacijaDoLabel);			
			//
			// uxRelacijaDo
			//
			this.uxRelacijaDo.Width = 250;
			this.uxRelacijaDo.MaxLength = 150;
			//this.uxTableLayoutPanel.Controls.Add(this.uxRelacijaDo);
			this.uxRelacijaDo.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxRelacijaDo);
			//
			// uxKilometaraLabel
			//
			this.uxKilometaraLabel.Text = "Kilometara:";
			this.uxKilometaraLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxKilometaraLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxKilometaraLabel);			
			//
			// uxKilometara
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxKilometara);
			this.uxKilometara.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxKilometara);
			//
			// uxBrojiloPocetakLabel
			//
			this.uxBrojiloPocetakLabel.Text = "BrojiloPocetak:";
			this.uxBrojiloPocetakLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxBrojiloPocetakLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojiloPocetakLabel);			
			//
			// uxBrojiloPocetak
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojiloPocetak);
			this.uxBrojiloPocetak.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxBrojiloPocetak);
			//
			// uxBrojiloKrajLabel
			//
			this.uxBrojiloKrajLabel.Text = "BrojiloKraj:";
			this.uxBrojiloKrajLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxBrojiloKrajLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojiloKrajLabel);			
			//
			// uxBrojiloKraj
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojiloKraj);
			this.uxBrojiloKraj.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxBrojiloKraj);
			//
			// uxPoKmLabel
			//
			this.uxPoKmLabel.Text = "PoKm:";
			this.uxPoKmLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxPoKmLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxPoKmLabel);			
			//
			// uxPoKm
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxPoKm);
			this.uxPoKm.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxPoKm);
			//
			// uxVoziloOpisLabel
			//
			this.uxVoziloOpisLabel.Text = "VoziloOpis:";
			this.uxVoziloOpisLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxVoziloOpisLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxVoziloOpisLabel);			
			//
			// uxVoziloOpis
			//
			this.uxVoziloOpis.Width = 250;
			this.uxVoziloOpis.MaxLength = 150;
			//this.uxTableLayoutPanel.Controls.Add(this.uxVoziloOpis);
			this.uxVoziloOpis.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxVoziloOpis);
			//
			// uxIznosLabel
			//
			this.uxIznosLabel.Text = "Iznos:";
			this.uxIznosLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxIznosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosLabel);			
			//
			// uxIznos
			//
			this.uxIznos.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznos);
			this.uxIznos.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxIznos);
			//
			// uxIDKontoPrijevozaLabel
			//
			this.uxIDKontoPrijevozaLabel.Text = "IDKontoPrijevoza:";
			this.uxIDKontoPrijevozaLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxIDKontoPrijevozaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKontoPrijevozaLabel);			
			//
			// uxIDKontoPrijevoza
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKontoPrijevoza);
			this.uxIDKontoPrijevoza.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxIDKontoPrijevoza);
			//
			// uxIDBlagajnaStavkaLabel
			//
			this.uxIDBlagajnaStavkaLabel.Text = "IDBlagajnaStavka:";
			this.uxIDBlagajnaStavkaLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxIDBlagajnaStavkaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDBlagajnaStavkaLabel);			
			//
			// uxIDBlagajnaStavka
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDBlagajnaStavka);
			this.uxIDBlagajnaStavka.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxIDBlagajnaStavka);
			//
			// uxIDKontoPrijevoza
			//				
			this.uxIDKontoPrijevoza.DisplayMember = "Sifra";	
			this.uxIDKontoPrijevoza.ValueMember = "ID";	
			//
			// uxIDPutniNalog
			//				
			this.uxIDPutniNalog.DisplayMember = "Oznaka";	
			this.uxIDPutniNalog.ValueMember = "ID";	
			//
			// uxIDVozilo
			//				
			this.uxIDVozilo.DisplayMember = "OznakaVozila";	
			this.uxIDVozilo.ValueMember = "ID";	
			// 
			// PutniNalogStavkaPrijevozEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "PutniNalogStavkaPrijevozEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.Konto> _IDKontoPrijevozaList;
		
		/// <summary>
		/// The ComboBox associated with the IDKontoPrijevoza property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Konto> IDKontoPrijevozaList
		{
			get {return _IDKontoPrijevozaList;}
			set 
			{
				this._IDKontoPrijevozaList = value;
				this.uxIDKontoPrijevoza.DataSource = null;
				this.uxIDKontoPrijevoza.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDKontoPrijevozaList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDKontoPrijevoza property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDKontoPrijevozaList
		{
			get { return _allowNewItemInIDKontoPrijevozaList;}
			set
			{
				this._allowNewItemInIDKontoPrijevozaList = value;
				this.uxIDKontoPrijevoza.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.PutniNalog> _IDPutniNalogList;
		
		/// <summary>
		/// The ComboBox associated with the IDPutniNalog property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.PutniNalog> IDPutniNalogList
		{
			get {return _IDPutniNalogList;}
			set 
			{
				this._IDPutniNalogList = value;
				this.uxIDPutniNalog.DataSource = null;
				this.uxIDPutniNalog.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDPutniNalogList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDPutniNalog property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDPutniNalogList
		{
			get { return _allowNewItemInIDPutniNalogList;}
			set
			{
				this._allowNewItemInIDPutniNalogList = value;
				this.uxIDPutniNalog.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Vozilo> _IDVoziloList;
		
		/// <summary>
		/// The ComboBox associated with the IDVozilo property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Vozilo> IDVoziloList
		{
			get {return _IDVoziloList;}
			set 
			{
				this._IDVoziloList = value;
				this.uxIDVozilo.DataSource = null;
				this.uxIDVozilo.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDVoziloList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDVozilo property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDVoziloList
		{
			get { return _allowNewItemInIDVoziloList;}
			set
			{
				this._allowNewItemInIDVoziloList = value;
				this.uxIDVozilo.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
